<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta id="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
		<meta name="apple-themes-web-app-capable" content="yes">
		<meta content="yes" name="apple-mobile-web-app-capable">
		<meta content="black" name="apple-mobile-web-app-status-bar-style">
		<meta content="telephone=no" name="format-detection">
		<meta content="email=no" name="format-detection">
		<meta name="format-detection" content="telephone=no">
		<title>夺宝记录</title>
        <link rel="stylesheet" href="${s.base}/mobile/css/main.css" type="text/css" media="all">
	</head>

	<body>   
		<header id="header">
			<div class="header_con">
				<a href="javascript:history.go(-1);"><span></span></a> 
                <div class="top_tit">夺宝记录</div>
                <input type="hidden" id="memberId" value="${memberId}">
			</div>
		</header>

		<div id="content_div">
            <div class="yy_jl_tit">
                <a <#if status == '3'>class="change_c"</#if> data-value="3"><span>全部</span></a><a  <#if status == '1'>class="change_c"</#if> data-value="1"><span>进行中</span></a><a <#if status == '2'>class="change_c"</#if> data-value="2"><span>已开奖</span></a></h2>
            </div>
            <div class="yy_jl_box" <#if status == '3'>style="display:block;"<#else>style="display:none;"</#if>>

                <#if status == '3' &&  activityList?? && (activityList?size > 0) >
                    <#list activityList as activity>
                        <div class="yy_jl_db">
                            <ul>
                                <#if activity.currentMemberStatus == '1'><i></i></#if>
                                <img src="${activity.imageOne}" />

                                <li>
                                    <h2>${activity.itemTitle}</h2>
                                    <p><span>期</span>号：${activity.periodsNum}</p>
                                    <#if activity.status == '2'>
                                        <!--已经开奖-->
                                        <p>是否中奖： <label><#if activity.currentMemberStatus == '1'>中奖<#else>未中奖</#if></label></p>
                                        <p>中奖号码： <label>${activity.winningNum}</label></p>
                                        <p>参与人次： ${activity.readyNum}人次</p>
                                        <p>开奖时间： ${activity.updateTime?date}</p>
                                        <#else>
                                            <!--等待开奖-->
                                            <p>开奖时间：等待开奖</p>

                                    </#if>

                                </li>

                            </ul>
                            <dl class="clearfixd">
                                <dd onClick="window.location.href='${s.base}/phone/selectActivityEntity?memberId=${memberId}&activityId=${activity.id}'"><i class="et_ib01"></i>查看详情</dd>
                                <dd class="xz_a" onClick="window.location.href='${s.base}/phone/myWinNum?memberId=${memberId}&activityId=${activity.id}'"><i class="et_ib02"></i>我的号码</dd>
                            </dl>
                        </div>
                    </#list>
                <#else>
                    <div class="yy_jl_no">
                        <i></i>
                        <p>您还没有夺宝记录哦！</p>
                        <a href="${s.base}/phone/index?memberId=${memberId}">立即夺宝</a>
                    </div>
                </#if>

             
             <!--<div class="yy_jl_db">
              <ul>
              <i></i>
               <img src="images/cp04.jpg" />
               <li>
                <h2>Beats Solo2 无线头盔式耳机...Beats Solo2 无线头盔式耳机...</h2>
                <p><span>期</span>号：3328</p>
                 <p>是否中奖： <label>未中奖</label></p>
                 <p>中奖号码： <label>10003488</label></p>
                 <p>参与人次： 1500人次</p>
                 <p>开奖时间： 今天12:30</p>
               </li>
              </ul>
              <dl class="clearfixd">
                     <dd><i class="et_ib01"></i>查看详情</dd>
                      <dd class="xz_a" onClick="window.location.href='我的号码.html'"><i class="et_ib02"></i>我的号码</dd>
              </dl>
             </div>-->
             
            </div>
            
            <div class="yy_jl_box" <#if status == '1'>style="display:block;"<#else>style="display:none;"</#if>>
                <#if status == '1' && activityList?? && (activityList?size > 0) >
                    <#list activityList as activity>
                        <div class="yy_jl_db">
                            <ul>
                                <#if activity.currentMemberStatus == '1'><i></i></#if>
                                <img src="${activity.imageOne}" />

                                <li>
                                    <h2>${activity.itemTitle}</h2>
                                    <p><span>期</span>号：${activity.periodsNum}</p>
                                    <p>开奖时间：等待开奖</p>
                                </li>

                            </ul>
                            <dl class="clearfixd">
                                <dd onClick="window.location.href='${s.base}/phone/selectActivityEntity?memberId=${memberId}&activityId=${activity.id}'"><i class="et_ib01"></i>查看详情</dd>
                                <dd class="xz_a" onClick="window.location.href='${s.base}/phone/myWinNum?memberId=${memberId}&activityId=${activity.id}'"><i class="et_ib02"></i>我的号码</dd>
                            </dl>
                        </div>
                    </#list>
                    <#else>
                        <div class="yy_jl_no">
                            <i></i>
                            <p>您还没有夺宝记录哦！</p>
                            <a>立即夺宝</a>
                        </div>
                </#if>

            </div>

            <div class="yy_tj_box" <#if status == '2'>style="display:block;"<#else>style="display:none;"</#if>>
                <#if status == '2' && activityList?? && (activityList?size > 0) >
                    <#list activityList as activity>
                        <div class="yy_jl_db">
                            <ul>
                                <#if activity.currentMemberStatus == '1'><i></i></#if>
                                <img src="${activity.imageOne}" />

                                <li>
                                    <h2>${activity.itemTitle}</h2>
                                    <p><span>期</span>号：${activity.periodsNum}</p>
                                    <p>是否中奖： <label><#if activity.currentMemberStatus == '1'>中奖<#else>未中奖</#if></label></p>
                                    <p>中奖号码： <label>${activity.winningNum}</label></p>
                                    <p>参与人次： ${activity.readyNum}人次</p>
                                    <p>开奖时间： <#if activity.status == '2'>${activity.updateTime?date}<#else>未结束</#if></p>
                                </li>

                            </ul>
                            <dl class="clearfixd">
                                <dd onClick="window.location.href='${s.base}/phone/selectActivityEntity?memberId=${memberId}&activityId=${activity.id}'"><i class="et_ib01"></i>查看详情</dd>
                                <dd class="xz_a" onClick="window.location.href='${s.base}/phone/myWinNum?memberId=${memberId}&activityId=${activity.id}'"><i class="et_ib02"></i>我的号码</dd>
                            </dl>
                        </div>
                    </#list>
                    <#else>
                        <div class="yy_jl_no">
                            <i></i>
                            <p>您还没有夺宝记录哦！</p>
                            <a>立即夺宝</a>
                        </div>
                </#if>
            </div>
            <!--<div class="yy_tj_tit"><span>猜你喜欢</span></div>
          
            <div class="yy_tj_mian">
            <ul class="clearfixd">
             <li>
             <img src="images/cp04.jpg" />
             <p>iPhone 6金色128G超大内存抢购</p>
             </li>
             <li>
             <img src="images/cp01.jpg" />
             <p>Beats Solo2 无线头盔式耳机炫酷玫瑰金</p>
             </li>
             <li>
             <img src="images/cp03.jpg" />
             <p>移动500元充值卡 新狂飙场</p>
             </li>
            </ul>
            </div>-->


        
      </div>	
            <!--底部-->
			<!--底部结束-->
      <script type="text/javascript" src="${s.base}/mobile/js/jquery.min.js"></script>
      <script type="text/javascript" src="${s.base}/mobile/js/common.js"></script>
	</body>

</html>